﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.IO;

namespace ecdl.demo.model.word.test {
    public class ResourcePathProvider : VolumeProvider{

        public override string GetPath() {

            //get the full location of the assembly with DaoTests in it
            string fullPath = System.Reflection.Assembly.GetAssembly(typeof(ResourcePathProvider)).Location;

            //get the folder that's in
            string baseDir = Path.GetDirectoryName(fullPath);
           
            return Path.Combine(baseDir, "res");
        }
    }
}
